// 表单属性【右面板】
export const formConf = {
  formRef: "elForm",
  formModel: "formData",
  size: "medium",
  labelPosition: "right",
  labelWidth: 100,
  formRules: "rules",
  gutter: 15,
  disabled: false,
  span: 24,
  formType: "form", // table,form
  name: "表单名称",
  type: "", // 表单分类
  tableName: "", // 数据库表名
  tablePk: "", // 数据库主键
  tableTitleField: "", // 标题字段
  tableTitleExpression: "", // 标题表达式
  autoTitle: "", // 自动生成任务标题
  jsStr: "", // 脚本文本
  formBtns: true,
  __methods__: {
    getName() {
      console.log(11111);
    }
  }
};

// 输入型组件 【左面板】
export const inputComponents = [
  {
    // 组件的自定义配置
    __config__: {
      label: "单行文本",
      labelWidth: null,
      showLabel: true,
      changeTag: true,
      tag: "el-input",
      tagIcon: "input",
      defaultValue: undefined,
      required: true,
      hidden: false,
      layout: "colFormItem",
      span: 24,
      document: "https://element.eleme.cn/#/zh-CN/component/input",
      // 正则校验规则
      regList: [],
      regBefore: "", // 校验前置条件
      jsClass: "" // 脚本执行选择器类名
    },
    // 组件的插槽属性
    __slot__: {
      prepend: "",
      append: ""
    },
    // 其余的为可直接写在组件标签上的属性
    placeholder: "请输入",
    style: { width: "100%" },
    clearable: true,
    "prefix-icon": "",
    "suffix-icon": "",
    maxlength: null,
    "show-word-limit": false,
    readonly: false,
    disabled: false
  },
  {
    __config__: {
      label: "多行文本",
      labelWidth: null,
      showLabel: true,
      tag: "el-input",
      tagIcon: "textarea",
      defaultValue: undefined,
      required: true,
      hidden: false,
      layout: "colFormItem",
      span: 24,
      regList: [],
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      changeTag: true,
      document: "https://element.eleme.cn/#/zh-CN/component/input"
    },
    type: "textarea",
    placeholder: "请输入",
    autosize: {
      minRows: 4,
      maxRows: 4
    },
    style: { width: "100%" },
    maxlength: null,
    "show-word-limit": false,
    readonly: false,
    disabled: false
  },
  {
    __config__: {
      label: "密码",
      showLabel: true,
      labelWidth: null,
      changeTag: true,
      tag: "el-input",
      tagIcon: "password",
      defaultValue: undefined,
      hidden: false,
      layout: "colFormItem",
      span: 24,
      required: true,
      regList: [],
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      document: "https://element.eleme.cn/#/zh-CN/component/input"
    },
    __slot__: {
      prepend: "",
      append: ""
    },
    placeholder: "请输入",
    "show-password": true,
    style: { width: "100%" },
    clearable: true,
    "prefix-icon": "",
    "suffix-icon": "",
    maxlength: null,
    "show-word-limit": false,
    readonly: false,
    disabled: false
  },
  {
    __config__: {
      label: "计数器",
      showLabel: true,
      changeTag: true,
      labelWidth: null,
      tag: "el-input-number",
      tagIcon: "number",
      defaultValue: undefined,
      hidden: false,
      span: 24,
      layout: "colFormItem",
      required: true,
      regList: [],
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      document: "https://element.eleme.cn/#/zh-CN/component/input-number"
    },
    placeholder: "",
    min: undefined,
    max: undefined,
    step: 1,
    "step-strictly": false,
    precision: undefined,
    "controls-position": "",
    disabled: false
  },
  {
    __config__: {
      label: "编辑器",
      showLabel: true,
      changeTag: true,
      labelWidth: null,
      tag: "tinymce",
      tagIcon: "rich-text",
      hidden: false,
      defaultValue: null,
      span: 24,
      layout: "colFormItem",
      required: true,
      regList: [],
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      document: "http://tinymce.ax-z.cn"
    },
    placeholder: "请输入",
    height: 300, // 编辑器高度
    branding: false // 隐藏右下角品牌烙印
  }
];

// 选择型组件 【左面板】
export const selectComponents = [
  {
    __config__: {
      label: "下拉选择",
      showLabel: true,
      labelWidth: null,
      tag: "el-select",
      tagIcon: "select",
      layout: "colFormItem",
      span: 24,
      required: true,
      hidden: false,
      regList: [],
      changeTag: true,
      regBefore: "", // 校验前置条件
      document: "https://element.eleme.cn/#/zh-CN/component/select"
    },
    __slot__: {
      options: [
        {
          label: "选项一",
          value: 1
        },
        {
          label: "选项二",
          value: 2
        }
      ]
    },
    placeholder: "请选择",
    style: { width: "100%" },
    clearable: true,
    disabled: false,
    filterable: false,
    multiple: false
  },
  {
    __config__: {
      label: "动态下拉",
      showLabel: true,
      dataType: "dynamic",
      labelWidth: null,
      tag: "sz-select",
      tagIcon: "select1",
      layout: "colFormItem",
      span: 24,
      required: true,
      hidden: false,
      regList: [],
      changeTag: true,
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      document: "https://element.eleme.cn/#/zh-CN/component/select"
    },
    on: {
      click: "getName"
    },
    __slot__: {
      options: [
        {
          label: "选项一",
          value: 1
        },
        {
          label: "选项二",
          value: 2
        }
      ]
    },
    props: {
      props: {
        label: "label",
        value: "value"
      }
    },
    optionMethod: "",
    placeholder: "请选择",
    style: { width: "100%" },
    isDic: true,
    readonly: true,
    clearable: true,
    disabled: false,
    filterable: false,
    multiple: false
  },
  {
    __config__: {
      label: "用户选择",
      showLabel: true,
      dataType: "dynamic",
      labelWidth: null,
      tag: "sz-user-select",
      tagIcon: "select2",
      layout: "colFormItem",
      span: 24,
      required: true,
      hidden: false,
      regList: [],
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      changeTag: true
    },
    on: {
      getUser: "getUser"
    },
    __methods__: {
      getUser(obj) {
        console.log(obj, "getUser");
      }
    },
    title: "选择组织机构和人员",
    placeholder: "请选择",
    width: "50%",
    btnLabel: "选择",
    businessKey: null,
    containUser: 1,
    isMulSelect: false,
    isHiddenInput: false,
    busType: "NORMAL",
    selectType: 0,
    tabConfig: null
  },
  {
    __config__: {
      label: "地区选择",
      showLabel: false,
      tag: "tree-select-item",
      tagIcon: "select3",
      layout: "colFormItem",
      span: 8,
      required: true,
      hidden: false,
      regList: [],
      changeTag: true
    },
    selectLevel: 1,
    selectConfig: {
      placeholder: "选择地区"
    }
  },
  {
    __config__: {
      label: "级联选择",
      showLabel: true,
      labelWidth: null,
      tag: "el-cascader",
      tagIcon: "cascader",
      layout: "colFormItem",
      hidden: false,
      defaultValue: [],
      dataType: "dynamic",
      span: 24,
      required: true,
      regList: [],
      changeTag: true,
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      document: "https://element.eleme.cn/#/zh-CN/component/cascader"
    },
    options: [
      {
        id: 1,
        value: 1,
        label: "选项1",
        children: [
          {
            id: 2,
            value: 2,
            label: "选项1-1"
          }
        ]
      }
    ],
    placeholder: "请选择",
    style: { width: "100%" },
    props: {
      props: {
        multiple: false,
        label: "label",
        value: "value",
        children: "children"
      }
    },
    "show-all-levels": true,
    disabled: false,
    clearable: true,
    filterable: false,
    separator: "/"
  },
  {
    __config__: {
      label: "单选框组",
      labelWidth: null,
      showLabel: true,
      tag: "el-radio-group",
      tagIcon: "radio",
      changeTag: true,
      defaultValue: undefined,
      layout: "colFormItem",
      hidden: false,
      span: 24,
      optionType: "default",
      regList: [],
      required: true,
      border: false,
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      document: "https://element.eleme.cn/#/zh-CN/component/radio"
    },
    __slot__: {
      options: [
        {
          label: "选项一",
          value: 1
        },
        {
          label: "选项二",
          value: 2
        }
      ]
    },
    style: {},
    size: "medium",
    disabled: false
  },
  {
    __config__: {
      label: "多选框组",
      tag: "el-checkbox-group",
      tagIcon: "checkbox",
      defaultValue: [],
      span: 24,
      showLabel: true,
      labelWidth: null,
      layout: "colFormItem",
      optionType: "default",
      hidden: false,
      required: true,
      regList: [],
      changeTag: true,
      border: false,
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      document: "https://element.eleme.cn/#/zh-CN/component/checkbox"
    },
    __slot__: {
      options: [
        {
          label: "选项一",
          value: 1
        },
        {
          label: "选项二",
          value: 2
        }
      ]
    },
    style: {},
    size: "medium",
    min: null,
    max: null,
    disabled: false
  },
  {
    __config__: {
      label: "开关",
      tag: "el-switch",
      tagIcon: "switch",
      defaultValue: false,
      span: 24,
      showLabel: true,
      labelWidth: null,
      layout: "colFormItem",
      required: true,
      hidden: false,
      regList: [],
      changeTag: true,
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      document: "https://element.eleme.cn/#/zh-CN/component/switch"
    },
    style: {},
    disabled: false,
    "active-text": "",
    "inactive-text": "",
    "active-color": null,
    "inactive-color": null,
    "active-value": true,
    "inactive-value": false
  },
  {
    __config__: {
      label: "滑块",
      tag: "el-slider",
      tagIcon: "slider",
      defaultValue: null,
      span: 24,
      showLabel: true,
      layout: "colFormItem",
      labelWidth: null,
      required: true,
      hidden: false,
      regList: [],
      changeTag: true,
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      document: "https://element.eleme.cn/#/zh-CN/component/slider"
    },
    disabled: false,
    min: 0,
    max: 100,
    step: 1,
    "show-stops": false,
    range: false
  },
  {
    __config__: {
      label: "时间选择",
      tag: "el-time-picker",
      tagIcon: "time",
      defaultValue: null,
      span: 24,
      showLabel: true,
      layout: "colFormItem",
      labelWidth: null,
      required: true,
      hidden: false,
      regList: [],
      changeTag: true,
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      document: "https://element.eleme.cn/#/zh-CN/component/time-picker"
    },
    placeholder: "请选择",
    style: { width: "100%" },
    disabled: false,
    clearable: true,
    "picker-options": {
      selectableRange: "00:00:00-23:59:59"
    },
    format: "HH:mm:ss",
    "value-format": "HH:mm:ss"
  },
  {
    __config__: {
      label: "时间范围",
      tag: "el-time-picker",
      tagIcon: "time-range",
      span: 24,
      showLabel: true,
      labelWidth: null,
      layout: "colFormItem",
      defaultValue: null,
      required: true,
      hidden: false,
      regList: [],
      changeTag: true,
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      document: "https://element.eleme.cn/#/zh-CN/component/time-picker"
    },
    style: { width: "100%" },
    disabled: false,
    clearable: true,
    "is-range": true,
    "range-separator": "至",
    "start-placeholder": "开始时间",
    "end-placeholder": "结束时间",
    format: "HH:mm:ss",
    "value-format": "HH:mm:ss"
  },
  {
    __config__: {
      label: "日期选择",
      tag: "el-date-picker",
      tagIcon: "date",
      defaultValue: null,
      showLabel: true,
      labelWidth: null,
      span: 24,
      layout: "colFormItem",
      required: true,
      hidden: false,
      regList: [],
      changeTag: true,
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      document: "https://element.eleme.cn/#/zh-CN/component/date-picker"
    },
    placeholder: "请选择",
    type: "date",
    style: { width: "100%" },
    disabled: false,
    clearable: true,
    format: "yyyy-MM-dd",
    "value-format": "yyyy-MM-dd",
    readonly: false
  },
  {
    __config__: {
      label: "日期范围",
      tag: "el-date-picker",
      tagIcon: "date-range",
      defaultValue: null,
      span: 24,
      showLabel: true,
      labelWidth: null,
      required: true,
      hidden: false,
      layout: "colFormItem",
      regList: [],
      changeTag: true,
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      document: "https://element.eleme.cn/#/zh-CN/component/date-picker"
    },
    style: { width: "100%" },
    type: "daterange",
    "range-separator": "至",
    "start-placeholder": "开始日期",
    "end-placeholder": "结束日期",
    disabled: false,
    clearable: true,
    format: "yyyy-MM-dd",
    "value-format": "yyyy-MM-dd",
    readonly: false
  },
  {
    __config__: {
      label: "评分",
      tag: "el-rate",
      tagIcon: "rate",
      defaultValue: 0,
      span: 24,
      showLabel: true,
      labelWidth: null,
      hidden: false,
      layout: "colFormItem",
      required: true,
      regList: [],
      changeTag: true,
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      document: "https://element.eleme.cn/#/zh-CN/component/rate"
    },
    style: {},
    max: 5,
    "allow-half": false,
    "show-text": false,
    "show-score": false,
    disabled: false
  },
  {
    __config__: {
      label: "颜色选择",
      tag: "el-color-picker",
      tagIcon: "color",
      span: 24,
      defaultValue: null,
      showLabel: true,
      labelWidth: null,
      layout: "colFormItem",
      required: true,
      hidden: false,
      regList: [],
      changeTag: true,
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      document: "https://element.eleme.cn/#/zh-CN/component/color-picker"
    },
    "show-alpha": false,
    "color-format": "",
    disabled: false,
    size: "medium"
  },
  // {
  //   __config__: {
  //     label: "上传",
  //     tag: "el-upload",
  //     tagIcon: "upload",
  //     layout: "colFormItem",
  //     defaultValue: null,
  //     showLabel: true,
  //     labelWidth: null,
  //     required: true,
  //     span: 24,
  //     hidden: false,
  //     showTip: false,
  //     buttonText: "点击上传",
  //     regList: [],
  //     changeTag: true,
  //     fileSize: 2,
  //     sizeUnit: "MB",
  //     document: "https://element.eleme.cn/#/zh-CN/component/upload"
  //   },
  //   __slot__: {
  //     "list-type": true
  //   },
  //   action: "http://47.97.101.122:23888/api/sys/file/db/upload?path=workflow",
  //
  //   disabled: false,
  //   accept: "",
  //   name: "file",
  //   "auto-upload": true,
  //   "list-type": "text",
  //   multiple: false
  // }
  {
    __config__: {
      label: "上传",
      labelPosition: "top",
      tag: "sz-upload",
      tagIcon: "upload",
      layout: "colFormItem",
      defaultValue: [],
      showLabel: true,
      labelWidth: null,
      required: true,
      span: 24,
      hidden: false,
      showTip: false,
      buttonText: "点击上传",
      regList: [],
      changeTag: true,
      fileSize: 2,
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      sizeUnit: "MB"
    },
    __slot__: {
      "list-type": true
    },
    action: "",
    disabled: false,
    readonly: false,
    accept: "",
    limit: 100,
    name: "file",
    "auto-upload": true,
    waterMark: true,
    waterText: "",
    isLabel: false,
    labelText: "",
    labelX: 0,
    labelY: 0,
    uploadTip: "",
    "list-type": "text",
    multiple: true
  }
];

// 手机端组件
export const mobileComponents = [
  {
    __config__: {
      label: "动态下拉",
      showLabel: true,
      dataType: "dynamic",
      labelWidth: null,
      tag: "sz-mobile-select",
      tagIcon: "select",
      layout: "colFormItem",
      span: 24,
      required: true,
      hidden: false,
      regList: [],
      changeTag: true,
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      document: "https://element.eleme.cn/#/zh-CN/component/select"
    },
    on: {
      click: "getName"
    },
    __slot__: {
      options: [
        {
          label: "选项一",
          value: 1
        },
        {
          label: "选项二",
          value: 2
        }
      ]
    },
    props: {
      props: {
        label: "label",
        value: "value"
      }
    },
    optionMethod: "",
    placeholder: "请选择",
    header: "请选择",
    style: { width: "100%" },
    isDic: true,
    readonly: true,
    clearable: true,
    disabled: false,
    filterable: false,
    multiple: false
  },
  {
    __config__: {
      label: "日期选择",
      tag: "sz-date-picker",
      tagIcon: "date",
      defaultValue: null,
      showLabel: true,
      labelWidth: null,
      span: 24,
      layout: "colFormItem",
      required: true,
      hidden: false,
      regList: [],
      changeTag: true,
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      document: "https://element.eleme.cn/#/zh-CN/component/date-picker"
    },
    placeholder: "请选择",
    type: "date",
    style: { width: "100%" },
    disabled: false,
    clearable: true,
    format: "yyyy-MM-dd",
    "value-format": "yyyy-MM-dd",
    readonly: false
  }
];

// 布局型组件 【左面板】
export const layoutComponents = [
  {
    __config__: {
      layout: "tableFormItem",
      tagIcon: "row",
      rows: 5,
      style:
        "border-right: 1px solid red;\n" +
        "border-bottom: 1px solid red;\n" +
        "border-spacing: 0px;\n" +
        "width:100%;",
      label: "表格容器",
      lineStyle: "1px solid red",
      layoutTree: false,
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      document:
        "https://element.eleme.cn/#/zh-CN/component/layout#row-attributes"
    },
    type: "default",
    justify: "start",
    align: "top"
  },
  {
    __config__: {
      layout: "trFormItem",
      tagIcon: "row",
      label: "tr容器",
      style: "width:100%;",
      layoutTree: false,
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      document:
        "https://element.eleme.cn/#/zh-CN/component/layout#row-attributes"
    },
    type: "default",
    justify: "start",
    align: "top"
  },
  {
    __config__: {
      layout: "tdFormItem",
      tagIcon: "row",
      label: "td容器",
      colspan: 1,
      style:
        "border-left: 1px solid red;\n" +
        "border-top: 1px solid red;\n" +
        "min-width:100px;padding:10px;",
      rowspan: 1,
      lineStyle: "1px solid red",
      layoutTree: true,
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      document:
        "https://element.eleme.cn/#/zh-CN/component/layout#row-attributes"
    },
    type: "default",
    justify: "start",
    align: "top"
  },
  {
    __config__: {
      layout: "labelItem",
      tagIcon: "row",
      label: "label",
      text: "标题",
      style:
        "text-align: center;\n" +
        "color: red;\n" +
        "font-size: 14px;\n" +
        "height:auto;\n" +
        "min-height: auto;\n" +
        "padding:10px;",
      colspan: 1,
      rowspan: 1,
      layoutTree: true,
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      document:
        "https://element.eleme.cn/#/zh-CN/component/layout#row-attributes"
    },
    type: "default",
    justify: "start",
    align: "top"
  },
  {
    __config__: {
      layout: "labelInput",
      tagIcon: "row",
      label: "混排",
      text: "标题",
      items: [
        { type: "label", text: "洛阳农发投资集团有限公司〔", color: "red" },
        {
          type: "input",
          placeholder: "",
          __vModel__: "address",
          width: "100px",
          align: "center",
          tag: "el-input",
          readonly: false,
          disabled: false,
          required: false,
          regList: [],
          defaultValue: ""
        },
        { type: "label", text: "〕", color: "red" },
        {
          type: "input",
          tag: "el-input",
          placeholder: "",
          __vModel__: "name",
          width: "50px",
          align: "center",
          readonly: false,
          disabled: false,
          required: false,
          regList: [],
          defaultValue: ""
        },
        { type: "label", text: "号", prop: "", color: "red" }
      ],
      align: "center",
      colspan: 1,
      rowspan: 1,
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      layoutTree: false
    },
    type: "default",
    justify: "start",
    align: "top",
    on: {
      getLabelInput: "getLabelInput"
    }
  },
  {
    __config__: {
      layout: "colFormItem",
      tagIcon: "row",
      label: "签名组件",
      tag: "tag-input",
      defaultValue: [],
      tagType: ["text_sign"],
      addDate: true,
      addSign: true, // 追加签名
      editSign: false, //编辑签名
      showDate: true,
      showSign: true,
      editSignTime: false, //编辑签名时间
      isMerge: true,
      showSignButton: true,
      required: false,
      labelWidth: 1,
      regList: [],
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      showAcceptButton: true,
      showRejectButton: true,
      showCancelButton: true,
      showText: true, //显示文本框（只针对配置了文本签名）
      align: "left",
      signAlign: "left",
      __vModel__: "signs",
      format: "yyyy-MM-dd HH:mm:ss",
      timeType: "datetime",
      layoutTree: false
    },
    placeholder: "",
    readonly: false,
    type: "default",
    justify: "start",
    align: "top"
  },
  // {
  //   __config__: {
  //     layout: "tagInput",
  //     tagIcon: "row",
  //     label: "签名组件",
  //     tag: "tag-input",
  //     defaultValue: [],
  //     tagType: ["text_sign"],
  //     addDate: true,
  //     isMerge: true,
  //     showSignButton: true,
  //     required: false,
  //     regList: [],
  //     regBefore: "", // 校验前置条件
  //     jsClass: "", // 脚本执行选择器类名
  //     showAcceptButton: true,
  //     showRejectButton: true,
  //     showCancelButton: true,
  //     align: "left",
  //     signAlign: "left",
  //     __vModel__: "signs",
  //     format: "yyyy-MM-dd hh:mm:ss",
  //     layoutTree: false
  //   },
  //   placeholder: "",
  //   readonly: false,
  //   type: "default",
  //   justify: "start",
  //   align: "top"
  // },
  {
    __config__: {
      layout: "szQuickReply",
      tagIcon: "row",
      label: "常用语",
      tag: "sz-quick-reply",
      defaultValue: [],
      addDate: true,
      isMerge: true,
      showSignButton: true,
      required: false,
      regList: [],
      showAcceptButton: true,
      showRejectButton: true,
      showCancelButton: true,
      align: "left",
      signAlign: "left",
      __vModel__: "reply",
      format: "yyyy-MM-dd hh:mm:ss",
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      layoutTree: false
    },
    placeholder: "",
    readonly: false,
    type: "default",
    justify: "start",
    align: "top"
  },

  {
    __config__: {
      layout: "rowFormItem",
      tagIcon: "row",
      label: "行容器",
      layoutTree: true,
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      document:
        "https://element.eleme.cn/#/zh-CN/component/layout#row-attributes"
    },
    type: "default",
    justify: "start",
    align: "top"
  },
  {
    __config__: {
      layout: "szForm",
      tagIcon: "row",
      tag: "sz-form",
      label: "动态表格",
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      layoutTree: true
    },
    __methods__: {
      funcAddItem: "funAddSzFormItem"
    },
    limitItem: 10,
    readonly: false,
    type: "default",
    justify: "start",
    btnName: "添加",
    align: "top"
  },
  {
    __config__: {
      layout: "szFormItem",
      tagIcon: "row",
      tag: "sz-form-item",
      label: "动态行",
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      layoutTree: true
    },
    readonly: false,
    type: "default",
    justify: "start",
    headerTitle: "办公用品",
    align: "top"
  },
  {
    __config__: {
      label: "按钮",
      showLabel: true,
      changeTag: true,
      labelWidth: null,
      tag: "el-button",
      tagIcon: "button",
      span: 24,
      regBefore: "", // 校验前置条件
      jsClass: "", // 脚本执行选择器类名
      layout: "colFormItem",
      document: "https://element.eleme.cn/#/zh-CN/component/button"
    },
    __slot__: {
      default: "主要按钮"
    },
    type: "primary",
    icon: "el-icon-search",
    round: false,
    size: "medium",
    plain: false,
    circle: false,
    disabled: false
  }
];
